<br/>
<br/>
<?php /*
<form action="<?= $admin_base_url; ?>staff/index/" method="post" style="float:left">
<table class='filter' cellspacing="0">
    <tr class='filterhead1'>
    	<td colspan="6"> Filter Options </td>
    </tr>
    <tr class='filterhead2'>
        <td> Code</td>
        <td> Name </td>
        <td> Designation </td>
        <td> Mob Number </td>
        <td>&nbsp;  </td>
        
    </tr>
	<tr>
        <td>
        <input class="txt3" type="text" size="15" name="code" value="<?php echo $filter['code']; ?>"/>
        </td>
        <td>
        <input class="txt3" type="text" name="st_name" value="<?php echo $filter['name']; ?>"/>
        </td>
        <td>
        <input class="txt3" type="text" size="15" name="designation" value="<?php echo $filter['designation']; ?>"/>
        </td> 
          <td>
          	<input class="txt3" type="text" size="15" name="mobile" value="<?php echo $filter['mobile']; ?>"/>
          </td>
          <td>
			 <div class="buttons">
				 <button type="submit" name="search" class="positive" value="save" >
			        <img src="<?php echo $admin_image_path?>icons/apply.png" alt=""/>
                    Search
                 </button> 
                 <a href="<?= $admin_base_url; ?>staff/clearFilter?rurl=<?php echo $rurl;?>" class="negative">
			        <img src="<?php echo $admin_image_path?>icons/cross.png" alt=""/>
			        Clear
			   </a>
             </div> 
           </td> 
     </tr> 
</table>
</form>  */ ?>
<table class="tbllist">
<tbody>
<tr>
<th class="tbslno">Sl.No</th>
<th class="tbname">  Name </th>
<th class="tddesig"> Filename </th>
<th class="tbaction">Action</th>
</tr>
<?php 
if(!empty($pages)) {
	foreach($pages as $key => $record) {
		$style = (++$key%2) ? '' : 'alt'; 
?>	
	<tr class="<?php echo $style;?>">
		<td><?= ($cur_pages + $key);?></td>
		<td><?php echo $record['name']; ?></td>
        <td><?php echo $record['filename']; ?>  </td>
        
      
       
       
     
		<td>
        <a rel="facebox" href="<?php echo $admin_base_url;?>pages/view/<?php echo $record['id'];?>/<?php echo $cur_pages;?>">
        	<img border="0" src="<?php echo $admin_image_path;?>view1.png" alt="" title="view"/></a>
		<a href="<?php echo $admin_base_url;?>pages/edit/<?php echo $record['id'];?>/<?php echo $cur_pages;?>" title="Edit">
       		 <img border="0" src="<?php echo $admin_image_path;?>edit1.png" alt=""/></a>
		<a href="<?php echo $admin_base_url;?>pages/export/<?php echo $record['id'];?>/<?php echo $cur_pages;?>" title="Export">
       		 <img border="0" src="<?php echo $admin_image_path;?>export.jpg" height="20" width="20" alt=""/></a>
		</td>
	</tr>
<?php 
	}
} else {
?>
<tr><td colspan="6"> <?php echo getLangText('staff_no_available',$this); ?> </td></tr>
<?php }?>
</tbody>
</table>
<div class="spacer10 rightText">
<?php 	echo $this->pagination->create_links();?>
</div>